package com.yuanqunsoft.alimigration.dao;

import java.util.List;

import com.yuanqunsoft.alimigration.model.AllUser;
import com.yuanqunsoft.alimigration.model.Rule;
import com.yuanqunsoft.alimigration.model.RuleSet;

public interface IRuleSetDao {

    public List<Rule> getRuleByRuleSetId(int id);

    public boolean save(RuleSet rs, List<Integer> ruleIds);

    public boolean delete(RuleSet rs);

    public boolean update(RuleSet rs);

    public List<RuleSet> getAllRuleSet();

    public List<RuleSet> queryPage(int currentPage, int pageSize);

    public RuleSet getRuleSetById(int id);

    public int getAllPage();

    public void selectRules(RuleSet rs, List<Integer> ruleIds);
    
    public List<RuleSet> findByRuleId(int id);
    
    public AllUser getUserById(int id);

}
